package com.physique.tea.Pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("history")
public class History {
    @TableId(type = IdType.AUTO)
    private Integer ID;

    private String PHYNAME;
    private String USERNAME;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date DAY;
}